#!/usr/bin/env zx

const pkg = require("../package.json");

const pkgName = pkg.name.slice(0, 1).toUpperCase() + pkg.name.slice(1);

await $`rimraf dist`;

await $`vue-cli-service build --target lib --inline-vue --name ${pkgName} src/main.ts`;
